<?php
//server端 serverSoap.php
$soap = new SoapServer(null,array('uri'=>"http://hotel.ppe.joyinter.net/"));		//This uri is your SERVER ip.
$soap->addFunction('getName');													//Register the function
$soap->addFunction(SOAP_FUNCTIONS_ALL);
$soap->handle();

function getName($var=''){
	$res = $var.'^0^';
	return $res;
}